home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: lafn.org!an234
- From: an234@lafn.org (Andres Lessing)
- Subject: Re: Fahrenheight to Celsius?
- X-Nntp-Posting-Host: lafn.org
- Message-ID: <1996Feb26.060213.23285@lafn.org>
- Sender: news@lafn.org
- Reply-To: an234@lafn.org (Andres Lessing)
- Organization: The Los Angeles Free-Net
- References: <4fvthq$2bl@newserv.agcs.com> <4fra3q$ddt@newsbf02.news.aol.com>
- Date: Mon, 26 Feb 1996 06:02:13 GMT
-
-
- In a previous article, weinberr@agcs.com (Roy Weinberg) says:
-
- >pauldo@aol.com (PaulDo) pooted forth with the following:
- >>Could someone show me how to write a program that converts fahrenheit to
- >>celsius and vice versa in C++? I would really appreciate it.
- >>PaulDo
- >
- >Dear Mr. Duh,
- >
- >I've got it - you're joking, right?
- >
- >In case you're serious (tee hee, tee hee):
- >
- >Check out page 167 of The World Almanac and Book
- >of Facts, 1988 for one of the most common equations
- >known to people that went to public schools.
- >
- >(Over 50 million copies have been sold so you can
- >probably find one lying around your nursery er, I
- >mean, classroom.)
- >
- >--
- >----------------------------------------------------
- >Roy Weinberg
- >74212.605@compuserve.com
- >http://ourworld.compuserve.com/homepages/RoyWeinberg
- >
- >
- Just because this person doesn't want to give it to you... here they are:"
-
-
- F = C*(9/5) +32
- C = (F-32)*(5/9)
-
-
- And if you want Kelvin as well
-
- K = C+273.1
- C = K-273.1
- --
- Hofstadter's Law: | o__
- It always takes longer than you expect, even | _.</)_
- when you take Hofstadter's Law into account. | (_) \(_)
- " Godel Escher Bach" | Andres, an234@lafn.org
-